

using Mengsk.ProxyDelivery.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Mengsk.ProxyDelivery.Service
{
    public class SystemRefundService : ServiceBase<SystemRefund>
    {
        public DataCollection<SystemRefund> GetByAll(int id, int sellerId, int orderChangeId, long orderId, string op, DateTime startCreateTime, DateTime endCreateTime, int pageIndex, int pageSize)
        {
            Request req = new Request { Api = "getByAll" };
            req.Add("id", id);
            req.Add("sellerId", sellerId);
            req.Add("orderChangeId", orderChangeId);
            req.Add("orderId", orderId);
            req.Add("operator", op);
            req.Add("startCreateTime", startCreateTime);
            req.Add("endCreateTime", endCreateTime);
            req.Add("pageIndex", pageIndex);
            req.Add("pageSize", pageSize);
            return this.DoRemoteCall<SystemRefund>(req).ToDataCollection();
        }
    }
}
